]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
sessionMode: Enable the networkAgent within the unlock-dialog
authorMitchell Augustin <mitchell.augustin@canonical.com>
Mon, 6 Apr 2026 22:05:58 +0000 (17:05 -0500)
committerMarge Bot <marge-bot@gnome.org>
Wed, 8 Apr 2026 21:48:34 +0000 (21:48 +0000)
This ensures that selecting a password-protected
Wi-Fi network in quicksettings behaves the same
on both the initial gdm screen (before any user
has logged in, as enabled already in 4440a8210b456923678facd434ef8a23d48f63b6)
and when the screen has been locked by an already logged-in user.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4160>

js/ui/sessionMode.js

index ad7502e6a70e96e7f308fc7a22e78df01ef4d4b4..b4f2437c63c97040a1f1a976dfef4a2eb7a05d59 100644 (file)
@@ -67,7 +67,9 @@ const _modes = {
     'unlock-dialog': {
         isLocked: true,
         unlockDialog: undefined,
-        components: ['polkitAgent'],
+        components: Config.HAVE_NETWORKMANAGER
+            ? ['networkAgent', 'polkitAgent']
+            : ['polkitAgent'],
         panel: {
             left: [],
             center: [],